package com.turnengine.client.common.command.client;

import java.io.InputStream;
import java.io.OutputStream;

import com.javabi.command.ICommandRequestList;
import com.javabi.command.ICommandResponseList;

public interface ICommandStream {

	String toString(ICommandRequestList requestList);

	String toString(ICommandResponseList responseList);

	void writeRequestList(ICommandRequestList requestList, OutputStream output);

	void writeResponseList(ICommandResponseList responseList, OutputStream output);

	ICommandResponseList readResponseList(InputStream input);

	ICommandRequestList readRequestList(InputStream input);

}
